package com.hkts.naturalgasauthentication.config.pool;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassNameThreadPoolConfigProperties
 * @Description
 * @Author yck
 * @Date2021-05-11 16:34
 * @Version V1.0
 **/
@Data
@ConfigurationProperties(prefix = "mangements.thread")
public class ThreadPoolConfigProperties {
  //  @Value("management.thread.coreSize")
    private Integer coreSize;
   // @Value("management.thread.maxSize")
    private Integer maxSize;
  //  @Value("management.thread.keepAliveTime")
    private Integer keepAliveTime;
}
